package com.yonyou.cyxdms.basedata.service.dto.vehiclemodel;

import com.yonyou.cyx.framework.bean.dto.base.BaseDTO;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * 车型Dto
 *
 * @author pcl
 * @date 2017年3月10日
 */

public class GeneralModelDTO extends BaseDTO {
    //车型id
    private Long modelId;
    //车系code
    private String seriesCode;
    //经销商代码
    @NotBlank(message = "经销商代码不能为空")
    private String ownerCode;

    @NotBlank
    private String modelCode;

    @NotBlank
    private String modelName;

    //维修车型分组代码代码
    private String modelLabourCode;

    //索赔车型组名称
    private String modelGroupName;

    //索赔车型组代码
    private String modelGroupCode;

    private Integer isValid;

    //租户appId
    @NotBlank
    private String appId;

    //数据来源
    private String sourceId;

    // 是否删除
    private Integer isDelete;

    public Long getModelId() {
        return modelId;
    }

    public void setModelId(Long modelId) {
        this.modelId = modelId;
    }

    public String getSeriesCode() {
        return seriesCode;
    }

    public void setSeriesCode(String seriesCode) {
        this.seriesCode = seriesCode;
    }

    public String getModelCode() {
        return modelCode;
    }

    public void setModelCode(String modelCode) {
        this.modelCode = modelCode;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public String getModelLabourCode() {
        return modelLabourCode;
    }

    public void setModelLabourCode(String modelLabourCode) {
        this.modelLabourCode = modelLabourCode;
    }

    public String getModelGroupName() {
        return modelGroupName;
    }

    public void setModelGroupName(String modelGroupName) {
        this.modelGroupName = modelGroupName;
    }

    public String getModelGroupCode() {
        return modelGroupCode;
    }

    public void setModelGroupCode(String modelGroupCode) {
        this.modelGroupCode = modelGroupCode;
    }

    public Integer getIsValid() {
        return isValid;
    }

    public void setIsValid(Integer isValid) {
        this.isValid = isValid;
    }

    public String getOwnerCode() {
        return ownerCode;
    }

    public void setOwnerCode(String ownerCode) {
        this.ownerCode = ownerCode;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getSourceId() {
        return sourceId;
    }

    public void setSourceId(String sourceId) {
        this.sourceId = sourceId;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    @Override
    public String toString() {
        return "GeneralModelDTO{" +
                "modelId=" + modelId +
                ", seriesCode=" + seriesCode +
                ", ownerCode='" + ownerCode + '\'' +
                ", modelCode='" + modelCode + '\'' +
                ", modelName='" + modelName + '\'' +
                ", modelLabourCode='" + modelLabourCode + '\'' +
                ", modelGroupName='" + modelGroupName + '\'' +
                ", modelGroupCode='" + modelGroupCode + '\'' +
                ", isValid=" + isValid +
                ", appId='" + appId + '\'' +
                ", sourceId=" + sourceId +
                ", isDelete=" + isDelete +
                '}';
    }
}

